<?php
/**
 * 三方应用起始方法
 */
namespace App\Models\Authority\Other;

use App\Models\Authority\Other\sjgMethod;
use App\Models\Authority\Other\sjsMethod;

class MainMethod
{
    public static function Reg($user)
    {
        if (env('Other_SJS') == 1) {
            sjsMethod::regSJC($user->username);
        }

        if (env('Other_SJG') == 1) {
            sjgMethod::regSJG($user->phone,$msg);
        }
    }
}